From 1bbaf6f7ebd3affb89b5ec1e21e95691dcb3c195 Mon Sep 17 00:00:00 2001 From: robertl Date: Tue, 2 Sep 2008 08:36:21 +0000 Subject: [PATCH] Ignore ggas that don't have the fix field filled out at all. --- nmea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nmea.c b/nmea.c index 4143e9dff..1f6955627 100644 --- a/nmea.c +++ b/nmea.c @@ -448,7 +448,7 @@ gpgga_parse(char *ibuf) * as serial units will often spit a remembered position up and * that is more comfortable than nothing at all... */ - if ((fix == 0) && (read_mode != rm_serial)) { + if ((fix <= 0) && (read_mode != rm_serial)) { return; } -- 2.30.2